package com.bamboo.framework.framework.security.mapper;

import com.bamboo.framework.framework.security.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭晴
 * @since 2018-12-14
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名获取用户
     * @param username 用户名
     * @return 返回用户
     */
     User selectUserByName(String username);
}
